<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles-extras" prefix="tilesx" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<tilesx:useAttribute id="list" name="scriptsList" classname="java.util.List" />
<c:forEach var="script" items="${list}">
    <script src="${pageContext.request.contextPath}<c:out value='${script}' />"></script>
</c:forEach>
